From d07d3a1eb0edd305c5ae76aa22ba50db72ab4e5e Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Mon, 28 Jan 2013 02:47:34 +0400 Subject: [PATCH] * automated/ruby-mode-tests.el (ruby-indent-spread-args-in-parens): New test. --- test/automated/ruby-mode-tests.el | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/test/automated/ruby-mode-tests.el b/test/automated/ruby-mode-tests.el index 4cc9c590c20..42c59a1f3f0 100644 --- a/test/automated/ruby-mode-tests.el +++ b/test/automated/ruby-mode-tests.el @@ -237,6 +237,18 @@ VALUES-PLIST is a list with alternating index and value elements." |end |statement")) +(ert-deftest ruby-indent-spread-args-in-parens () + (let ((ruby-deep-indent-paren '(?\())) + (ruby-should-indent-buffer + "foo(1, + | 2, + | 3) + |" + "foo(1, + | 2, + | 3) + |"))) + (ert-deftest ruby-move-to-block-stops-at-indentation () (ruby-with-temp-buffer "def f\nend" (beginning-of-line) -- 2.30.2